package com.p2p.backend.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.github.pagehelper.PageInfo;
import com.p2p.backend.dao.BackBankCardDao;
import com.p2p.backend.service.BackBankCardService;
import com.p2p.base.page.PageVo;

/**
 * leiwen@yiqihao.com
 */
@Service("backBankCardService")
public class BackBankCardServiceImpl implements BackBankCardService {
	@Autowired
	private BackBankCardDao dao;

	public PageVo listPage(PageVo form) {
		List<Map<String, Object>>  list= dao.listPage(form);
		form.setList(list);
		return form;
	}

	public void pass(Integer id) {
		dao.pass(id);
	}

	public void unpass(Integer id) {
		dao.unpass(id);
	}

}
